<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
    <div id="app">
        <button-counter></button-counter>
        <button-counter></button-counter>
        <button-counter></button-counter>
    </div>
    <script>
        Vue.component("button-counter", {
            data(){
                return {
                    count: 0,
                }
            },
            template: "<button v-on:click='count++'>You checked me{{ count }} times. </button>",
        })
        new Vue().$mount("#app");
    </script>
</body>
</html>